html,body, #root{
  height: 100%;
  overflow: hidden;
}
*{
  box-sizing: border-box;
}
::-webkit-scrollbar{
  width: 6px;
  height: 6px;
  background: #eee;
}
::-webkit-scrollbar-thumb{
  width: 4px;
  height: 4px;
  background: #ccc;
  border-radius: 4px;
}
.app{
  text-rendering: optimizeLegibility;
  height: 100%;
  display: flex;
  font-size: 12px;
  flex-direction: column;
  font-family: Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif;
  -webkit-font-smoothing: antialiased;
}
.app-win-ios-tools{
    line-height: 6px;
    text-align: left;
    padding-top: 6px;
    -webkit-app-region: drag;
}
.app-win-titem{
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 6px;
    cursor: pointer;
    margin: 0 3px;
    position: relative;
}
.app-win-close{
    background: #FF575A;
}
.app-win-close svg{
    width: 9px;
    height: 9px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
}
.app-win-close:hover svg{
    display: inline-block;
}
.app-win-max {
    background: #FFED61;
}
.app-win-min {
    background: #7CFC5D;
    svg {
      width: 9px;
      height: 9px;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      display: none;
    }
    &:hover svg{
      display: inline-block;
    }
}
.main-body{
  flex: 1;
  display: flex;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
}
.app-tools{
    width: 60px;
    background: #303942;
    display: flex;
    flex-direction: column;
}
.app-content{
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  .content-header{
      height: 40px;
      box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  }
  .content-main{
      flex: 1;
  }
}

.app-menus{
  text-align: center;
  padding-top: 15px;
  color: #eee;
  width: 60px;
}
.app-menu-item{
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: inline-block;
  font-size: 10px;
  cursor: pointer;
  -webkit-app-region: none;
  img, svg {
    display: block;
    margin: 0 auto;
    max-width: 100%;
  }
}

.main-container{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content-header{
  -webkit-app-region: drag;
}